package com.baizhi.springbootday0101.entity;

import java.io.Serializable;

public class Book implements Serializable {
	private Integer bookId;
	private String bookName;
	private String author;
	private String press;
	private Double bookPrice;

	public Book() {
	}

	public Book(Integer bookId, String bookName, String author, String press, Double bookPrice) {
		this.bookId = bookId;
		this.bookName = bookName;
		this.author = author;
		this.press = press;
		this.bookPrice = bookPrice;
	}

	public Integer getBookId() {
		return bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPress() {
		return press;
	}

	public void setPress(String press) {
		this.press = press;
	}

	public Double getBookPrice() {
		return bookPrice;
	}

	public void setBookPrice(Double bookPrice) {
		this.bookPrice = bookPrice;
	}

	@Override
	public String toString() {
		return "Book{" +
			"bookId=" + bookId +
			", bookName='" + bookName + '\'' +
			", author='" + author + '\'' +
			", press='" + press + '\'' +
			", bookPrice=" + bookPrice +
			'}';
	}
}
